package cloud.xlh.my_system.service;

import cloud.xlh.my_system.common.response.Response;
import cloud.xlh.my_system.pojo.Database;

import java.util.HashMap;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : code-generator
 * @ Author: XuLeHuang
 * @ Date: 2022/5/31 10:57
 * @ Description:
 */
public interface DatabaseService {
    Response<HashMap> getListData(Integer limit , Integer page);

    Response<String> add(Database database);

    Response<Boolean> connectTest(Database database);

    Database findDatabaseById(Long databaseId);

    Response<List<Database>> option(Database database);

    Response<String> newTableLoading(Database database);
}
